<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>功能管理--新增功能</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/pc/common/public.css(css=${css})}"/>
			<style>
				table tr .lg {padding-top: 10px; text-align:right;}
				.search-text{border-radius:5px;}
				.treeselect_title span{border-radius:5px;}
				.select_province span{border-radius:5px;}
				.search-area{border-radius:5px;}
			</style>
		</th:block>
	</head>
	<body>
		<div class="mini-fitboxs">
			<form id="form">
				<div id="entityid" class="search-texthide"></div>
				<div id="creator" class="search-texthide"></div>
				<div id="createtime" class="search-texthide"></div>
			    <table class="around_list" style=" margin:0 auto;width:100%;">
			        <tr>
			            <td class="lg"><label>名　　称：</label></td>
			            <td class="lg">
			                <div id="funcname" class="search-textbox" rules="required" width="200" height="28" style="float:left;"></div>
			            </td>
			            <td class="lg" style="width:80px;"><label>父　　级：</label></td>
			            <td class="lg">
			                <div id="parentfunc" class="search-treeselect" idField="entityid" parentField="parentfunc" textField="funcname" width="200" height="28" placeHolder="请选择父级功能"></div>
			            </td>
			        </tr>
			        <tr>
			            <td class="lg"><label>类　　型：</label></td>
			            <td class="lg">
			                <div id="functype" class="search-select" rules="required" idField="value" textField="text" width="200" height="28" dropdownHeight="200" placeHolder="请选择功能类型" onvaluechanged="onValueChanged"></div>
			            </td>
			            <td class="lg"><label>图　　标：</label></td>
			            <td class="lg">
			                <div id="showicon" class="search-textbox" width="200" height="28" style="float:left;"></div>
			            </td>
			        </tr>
			        <tr>
			            <td class="lg"><label>调用方法：</label></td>
			            <td colspan="3" class="lg">
			                <div id="invokemethod" class="search-textbox" width="486" height="28" style="float:left;"></div>
			            </td>
			        </tr>
			        <tr>
			            <td class="lg"><label>授权标识：</label></td>
			            <td colspan="3" class="lg">
			                <div id="authorityid" class="search-textbox" width="486" height="28" style="float:left;"></div>
			            </td>
			        </tr>
			        <tr>
			            <td class="lg"><label>显示顺序：</label></td>
			            <td class="lg">
			                <div id="showorder" class="search-textbox" rules="required" width="200" height="28" style="float:left;"></div>
			            </td>
			            <td class="lg"><label>右键支持：</label>
			            </td>
			            <td class="lg">
			                <div id="rightsupport" class="search-select" idField="value" textField="text" width="200" height="28" dropdownHeight="200" placeHolder="请选择右键支持"></div>
			            </td>
			        </tr>
			        <tr>
			            <td class="lg"><label>备　　注：</label></td>
			            <td colspan="3" class="lg">
			                <div id="funcdesc" class="search-textarea" width="486" height="100" style="float:left;"></div>
			            </td>
			        </tr>
			    </table>
			</form>
		</div>
		<div class="org-btn" colspan="4">
		    <input class="org-save" type="button" onclick="saveData()" value="保存"/>
		    <input class="org-close" type="button" onclick="window.closeWindow();" value="关闭"/>
		</div>
		<script type="text/javascript" th:src="@{{js}/pc/functions/UpdateFunctionsHandler.js(js=${js})}"></script>
	</body>
	
</html>